function [vari] = calculateIndices( Saida )
%CALCULATEINDICES Summary of this function goes here
%   Detailed explanation goes here
global somaY K varianciaY;
K = K + 1;
somaY = somaY + Saida;

media = somaY/K;

varianciaY = varianciaY + (Saida - media)^2;
if K > 0
    vari = double(varianciaY / (K - 1));
end


end
